﻿using iService.BASE;
using swiftCode.Bbs.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace iService
{
    public interface IBanRecordService : IBaseServices<BanRecord>
    {
        Task<BanRecord> selectBanUser(Expression<Func<BanRecord, bool>> expression);

        Task<BanRecord> AddBanUser(BanRecord banRecord, bool autoSave = false);

        Task<List<BanRecord>> GetAllBanUsers();

        Task DeleteBanUser(BanRecord banRecord, bool autoSave = false);
    }
}
